package com.xc.pojo;

import java.util.Date;

public class Stock {

    private Integer id;

    private String stockName;

    private String stockCode;

    private String stockSpell;

    private String stockType;

    private String stockGid;

    private String stockPlate;

    private Integer isLock;

    private Integer isShow;

    private Date addTime;

    public Stock(Integer id, String stockName, String stockCode, String stockSpell, String stockType, String stockGid, String stockPlate, Integer isLock, Integer isShow, Date addTime) {
        this.id = id;
        this.stockName = stockName;
        this.stockCode = stockCode;
        this.stockSpell = stockSpell;
        this.stockType = stockType;
        this.stockGid = stockGid;
        this.stockPlate = stockPlate;
        this.isLock = isLock;
        this.isShow = isShow;
        this.addTime = addTime;
    }

    public Stock() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName == null ? null : stockName.trim();
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode == null ? null : stockCode.trim();
    }

    public String getStockSpell() {
        return stockSpell;
    }

    public void setStockSpell(String stockSpell) {
        this.stockSpell = stockSpell == null ? null : stockSpell.trim();
    }

    public String getStockType() {
        return stockType;
    }

    public void setStockType(String stockType) {
        this.stockType = stockType == null ? null : stockType.trim();
    }

    public String getStockGid() {
        return stockGid;
    }

    public void setStockGid(String stockGid) {
        this.stockGid = stockGid == null ? null : stockGid.trim();
    }

    public String getStockPlate() {
        return stockPlate;
    }

    public void setStockPlate(String stockPlate) {
        this.stockPlate = stockPlate == null ? null : stockPlate.trim();
    }

    public Integer getIsLock() {
        return isLock;
    }

    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}